import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const routes = [
  {
    path: "/button",
    component: () =>import("../pages/button/index.vue"),
  },
  {
    path: "/modal",
    component: () =>import("../pages/modal/container_one/index.vue"),
  },
  {
    path: "/tab",
    component: () =>import("../pages/tab/index.vue"),
  },
  {
    path: "/goods",
    component: () =>import("../pages/goods/index.vue"),
  },
];

const router = new VueRouter({
  routes,
});

export default router;
